//
//  JSOrderDetailHeadView.m
//  jshop
//
//  Created by 张艳江 on 2019/5/21.
//  Copyright © 2019 张艳江. All rights reserved.
//

#import "SCOrderDetailHeadView.h"

@implementation SCOrderDetailHeadView

+ (instancetype)addOrderDetailHeadView{
    return [[NSBundle mainBundle]loadNibNamed:@"SCOrderDetailHeadView" owner:nil options:nil].lastObject;
}
- (void)setModel:(SCModel *)model{
    _model = model;
    self.nameLab.text = model.contact_name;
    self.phoneLab.text = model.phone;
    self.addressLab.text = model.adress;
}

@end
